package com.sky.service;

import com.sky.entity.AddressBook;
import java.util.List;

public interface AddressBookService {


    void add(AddressBook addressBook);

    List<AddressBook> getAll();

   /* AddressBook getByDefault();*/

    void update(AddressBook addressBook);

    AddressBook getById(Long id);

    void starOrStop(AddressBook addressBook);

    void deleteById(Long id);

    List<AddressBook> list(AddressBook addressBook);
}
